package top.juntech.msweatherreport.client;

import org.springframework.stereotype.Component;
import top.juntech.msweatherreport.vo.City;
import top.juntech.msweatherreport.vo.WeatherResponse;

import java.util.Collections;
import java.util.List;

@Component
public class WeatherDataClinetHystrix implements WeatherDataClient{
    @Override
    public List<City> listCity() throws Exception {
        return Collections.EMPTY_LIST;
    }

    @Override
    public WeatherResponse getDataByCityId(String cityId) {
        return null;
    }
}
